package com.github.smartheye.fabric.performance.api.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.github.smartheye.fabric.performance.api.DummyFacade;
import com.github.smartheye.fabric.performance.spring.service.DummyService;

@RestController
public class DummyFacadeImpl implements DummyFacade {

    @Autowired
    DummyService dummyService;
    
    @Override
    @RequestMapping("/helloworld")
    public String helloWorld() {
        System.out.println("helloworld");

        return dummyService.helloWorld();
    }

}
